package server.config;

import java.io.File;

import server.useCases.login.AckDefaultLoginImpl;
import server.useCases.usuarioAbm.UsuarioAbmServiceImpl;
import client.useCases.login.MyLoginWindow;
import client.useCases.usuarioAbm.rpc.UsuarioAbmService;

import com.awx.client.login.AwxDefaultLoginService;
import com.awx.client.login.AwxLoginWindow;
import com.awx.client.rpc.AwxRpc;
import com.awx.server.registration.AwxServiceRegistration;

public class MyRegistration extends AwxServiceRegistration {

	@Override
	protected String getProperyFilePath() {
		return "WEB-INF\\config\\registration.properties";
	}

	@Override
	protected void registerServices() {

		this.addService( AwxLoginWindow.DEFAULT_LOGIN_SERVER , AwxDefaultLoginService.class, AckDefaultLoginImpl.class );
		this.addService( "UsuarioAbm" , UsuarioAbmService.class, UsuarioAbmServiceImpl.class );

		
		
	}


	public static void main(String[] args) {
		AwxServiceRegistration reg = new MyRegistration();
		reg.buildRegistration();
	}

}
